/*
*	File: MaxMaterialExporterDesc.h
*	Date: 12/14/2011
*	Author: Ivan Gao
*	Desc:
*/
#ifndef MAXMATERIALEXPORTERDESC_H_
#define MAXMATERIALEXPORTERDESC_H_
#include "3dsmaxsdk_preinclude.h"
#include "Max.h"
#include "resource.h"
#include "istdplug.h"
#include "iparamb2.h"
#include "iparamm2.h"
//SIMPLE TYPE
#include "MaxMaterialExporter.h"
extern TCHAR *GetString(int id);

extern HINSTANCE hInstance;
#define SMaxMaterialExporter_CLASS_ID Class_ID(0x464d28a3, 0x6c71230d);
class SMaxMaterialExporterDesc : public ClassDesc2 
{
public:
	virtual int IsPublic() 							{ return TRUE; }
	virtual void* Create(BOOL /*loading = FALSE*/) 		{ return new SMaxMaterialExporter(); }
	virtual const TCHAR *	ClassName() 			{ return GetString(IDS_CLASS_NAME_MATERIAL); }
	virtual SClass_ID SuperClassID() 				{ return SCENE_EXPORT_CLASS_ID; }
	virtual Class_ID ClassID() 						{ return SMaxMaterialExporter_CLASS_ID; }
	virtual const TCHAR* Category() 				{ return GetString(IDS_CATEGORY); }

	virtual const TCHAR* InternalName() 			{ return _T("SMaxMaterialExporter"); }	// returns fixed parsable name (scripter-visible name)
	virtual HINSTANCE HInstance() 					{ return hInstance; }					// returns owning module handle


};
ClassDesc2 * GetMaxMaterialExporterDesc ();
#endif // MAXMATERIALEXPORTERDESC_H_